<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css"
		href="${pageContext.request.contextPath}/pages/admin/css/frame.css"
		media="screen">
		<script
			src="${pageContext.request.contextPath}/scripts/jquery-1.7.1.js"
			type="text/javascript"></script>
		<script
			src="${pageContext.request.contextPath}/pages/admin/scripts/frame.js"
			type="text/javascript"></script>
		<title>后台管理平台</title>
</head>
<body class="showmenu">
	<!-- admin -->
	<s:url action="customer" namespace="/admin" method="list"
		var="customerListLink"></s:url>
	<s:url action="product" namespace="/admin" method="list"
		var="productListLink"></s:url>
	<s:url action="productcategory" namespace="/admin" method="list"
		var="productcategoryListLink"></s:url>
	<s:url action="notice" namespace="/admin" method="list"
		var="noticeListLink"></s:url>
	<s:url action="cafeinfo" namespace="/admin" method="list"
		var="cafeinfoListLink"></s:url>
	<s:url action="order" namespace="/admin" method="list"
		var="orderListLink"></s:url>
	<s:url action="placard" namespace="/admin" method="list"
		var="placardListLink"></s:url>

	<!-- system -->
	<s:url action="user" namespace="/system" method="list"
		var="userListLink"></s:url>
	<s:url action="role" namespace="/system" method="list"
		var="roleListLink"></s:url>
	<s:url action="log" namespace="/system" method="list" var="logListLink"></s:url>
	<s:url action="tree" namespace="/system" method="listTree"
		var="treeNodeListLink"></s:url>
	<s:url action="useradmin" namespace="/system" method="form"
		var="userAdminLink"></s:url>
	<div class="pagemask"></div>
	<iframe class="iframemask"></iframe>
	<div class="head">
		<div class="top_logo">
			<img
				src="${pageContext.request.contextPath}/pages/admin/css/images/logo.gif"
				alt="分数宝Logo" />
		</div>
		<!--右上角 顶部功能菜单 -->
		<div class="top_link">
			<ul>
				<li class="welcome"><s:property value="user.name" /></li>
				<li class="menuact"><a href="#" id="togglemenu">隐藏菜单</a>
				</li>
				<!-- <li><a href="sys_cache_up.htm" target="main">更新缓存</a></li> -->
				<li><s:url action="webview" namespace="/web" method="index"
						var="webIndexLink"></s:url> <a href="${webIndexLink }"
					target="_blank">网站首页</a>
				</li>
				<li><s:a action="login" namespace="/admin" method="logout">[退出]</s:a></a>
				</li>
			</ul>
			<div class="quick">
				<a href="#" class="ac_qucikmenu" id="ac_qucikmenu">快捷方式</a> <a
					href="#" class="ac_qucikadd" id="ac_qucikadd"></a>
			</div>
		</div>

		<!-- 顶部功能区 -->
		<div class="nav" id="nav">
			<ul>
				<li><a class="thisclass" href="${orderListLink}" _for="common"
					target="main">常用操作</a>
				</li>
				<li><a href="${productListLink} " _for="content" target="main">菜馆管理</a>
				</li>
				<li><a href="${customerListLink}" _for="member" target="main">会员管理</a>
				</li>
				<li><a href="${userListLink}" _for="system" target="main">用户管理</a>
				</li>
			</ul>
		</div>
	</div>
	<!-- header end -->

	<div class="left">
		<div class="menu" id="menu">

			<div id="items_common">
				<dl id="dl_items_1_1">
					<dt>常用操作</dt>
					<dd>
						<ul>
							<li><a href="${orderListLink}" target="main">订单管理</a>
							</li>
							<li><a href="${customerListLink}" target="main">会员管理</a>
							</li>
							<li><a href="${productListLink}" target="main">菜单管理</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>
			<!-- Item End -->

			<div id="items_content">
				<dl id="dl_items_1_2">
					<dt>内容管理</dt>
					<dd>
						<ul>
							<li><a href="${productListLink}" target="main">菜单管理</a></li>
							<li><a href="${productcategoryListLink}" target="main">菜单类型管理</a>
							</li>
							<!-- <li><a href="${cafeinfoListLink}" target="main">菜馆信息管理</a></li> -->
							<li><a href="${noticeListLink}" target="main">菜馆公告管理</a></li>
							<li><a href="${placardListLink}" target="main">广告管理</a></li>
						</ul>
					</dd>
				</dl>

				<!-- <dl id="dl_items_2_2">
					<dt>频道模型</dt>
					<dd>
						<ul>
							<li><a href="mychannel_main.htm" target="main">内容模型管理</a></li>
							<li><a href="diy_main.htm" target="main">自定义表单</a></li>
						</ul>
					</dd>
				</dl>-->
			</div>

			<div id="items_plugins">
				<dl id="dl_items_1_3">
					<dt>辅助插件</dt>
					<dd>
						<ul>
							<li><a href="plus_main.htm" target="main">插件管理器</a>
							</li>
							<li><a href="file_manage_main.htm" target="main">文件管理器</a>
							</li>
							<li><a href="ad_main.htm" target="main">广告管理</a>
							</li>
							<li><a href="friendlink_main.htm" target="main">友情链接</a>
							</li>
							<li><a href="vote_main.htm" target="main">投票插件</a>
							</li>
							<li><a href="catalog_do.htm?dopost=guestbook" target="main">留言簿插件</a>
							</li>
						</ul>
					</dd>
				</dl>

				<dl id="dl_items_2_3">
					<dt>采集管理</dt>
					<dd>
						<ul>
							<li><a href="co_main.htm" target="main">采集节点管理</a>
							</li>
							<li><a href="co_url.htm" target="main">临时内容管理</a>
							</li>
							<li><a href="co_get_corule.htm" target="main">导入采集规则</a>
							</li>
							<li><a href="co_gather_start.htm" target="main">监控采集模式</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>

			<div id="items_updatehtml">
				<dl id="dl_items_1_4">
					<dt>自动任务</dt>
					<dd>
						<ul>
							<li><a href="makehtml_all.htm" target="main">一键更新网站</a>
							</li>
							<li><a href="sys_cache_up.htm" target="main">更新系统缓存</a>
							</li>
						</ul>
					</dd>
				</dl>
				<dl id="dl_items_2_4">
					<dt>HTML更新</dt>
					<dd>
						<ul>
							<li><a href="makehtml_homepage.htm" target="main">更新主页HTML</a>
							</li>
							<li><a href="makehtml_list.htm" target="main">更新栏目HTML</a>
							</li>
							<li><a href="makehtml_archives.htm" target="main">更新数据HTML</a>
							</li>
							<li><a href="makehtml_map_guide.htm" target="main">更新网站地图</a>
							</li>
							<li><a href="makehtml_rss.htm" target="main">更新RSS文件</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>

			<div id="items_template">
				<dl id="dl_items_1_5">
					<dt>模板管理</dt>
					<dd>
						<ul>
							<li><a href="templets_main.htm" target="main">默认模板管理</a>
							</li>
							<li><a href="templets_tagsource.htm" target="main">标签源码管理</a>
							</li>
							<li><a href="mytag_main.htm" target="main">自定义宏标记</a>
							</li>
							<li><a href="mytag_tag_guide.htm" target="main">智能标记向导</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>

			<div id="items_member">
				<dl id="dl_items_1_6">
					<dt>会员管理</dt>
					<dd>
						<ul>
							<li><a href="${customerListLink}" target="main">会员管理</a>
							</li>
							<li><a href="${orderListLink}" target="main">订单管理</a></li>
							<!-- <li><a href="/error.jsp" target="main">会员等级管理</a>
							</li> -->
						</ul>
					</dd>
				</dl>
			</div>

			<div id="items_system">
				<dl id="dl_items_1_7">
					<dt>用户管理</dt>
					<dd>
						<ul>
							<li><a href="${userListLink}" target="main">用户管理</a>
							</li>
							<li><a href="${userAdminLink}" target="main">系统用户管理</a>
							</li>
							<!-- <li><a href="${roleListLink}" target="main">角色管理</a></li> -->
							<li><a href="${treeNodeListLink}" target="main">链接管理</a>
							</li>
							<li><a href="${logListLink}" target="main">系统日志管理</a>
							</li>
						</ul>
					</dd>
				</dl>
			</div>
		</div>
	</div>
	<!-- left end -->

	<div class="right">
		<div class="main">
			<decorator:body />
			<!--被装饰页面的body-->
			<iframe id="main" name="main" frameborder="0"
				src="${pageContext.request.contextPath}/pages/admin/index_body.jsp"></iframe>
		</div>
	</div>
	<!-- right end -->

	<div class="qucikmenu" id="qucikmenu">
		<ul>
			<li></li>
			<li></li>
			<li></li>
		</ul>
	</div>
	<!-- qucikmenu end -->
</body>

</html>